package com.bank.maven.dao;

import com.bank.maven.entity.Jilu;
import com.bank.maven.entity.User;
import com.bank.maven.entity.dao.JiluDao;

import java.sql.SQLException;
import java.text.ParseException;
import java.util.List;

public interface Userselect {
    List<User> getall() throws SQLException, ClassNotFoundException, ParseException, IllegalAccessException;

    int adduser(Jilu jilu) throws SQLException, ClassNotFoundException;

    User getuser(int id) throws SQLException, ClassNotFoundException;

    List<JiluDao> getusers(String fu,String shou,String time, int c, int limit) throws SQLException, ClassNotFoundException, ParseException, IllegalAccessException;

    int[] updateuser(int money, int id, int money1, int id1) throws SQLException, ClassNotFoundException;

    int count(String fu, String shou, String time) throws SQLException, ClassNotFoundException;
}
